package br.com.agenda.model;

import javax.persistence.AttributeOverride;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import br.com.agenda.model.utils.BaseEntities;

@Entity
@Table(name = "contatos")
@AttributeOverride(name = "id", column = @Column(name = "id"))
public class ContatoEntity extends BaseEntities<Long> {

	private static final long serialVersionUID = 1L;
	
	private String celular;
	
	private String email;
	
	private String nome;
	
	private String telefone;
	
	public ContatoEntity(){
		
	}

	public ContatoEntity(String celular, String email, String nome,
			String telefone) {
		super();
		this.celular = celular;
		this.email = email;
		this.nome = nome;
		this.telefone = telefone;
	}

	public String getCelular() {
		return celular;
	}

	public void setCelular(String celular) {
		this.celular = celular;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getNome() {
		return nome;
	}

	public void setNome(String nome) {
		this.nome = nome;
	}

	public String getTelefone() {
		return telefone;
	}

	public void setTelefone(String telefone) {
		this.telefone = telefone;
	}
}
